import {defineConfig} from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'path'

// https://vitejs.dev/config/
export default defineConfig({
  server: {
    port: 5173,
  },
  plugins: [vue()],
  resolve: {
    alias: {
      '@': path.resolve(__dirname, './src/'),
      '@w': path.resolve(__dirname, './wailsjs/'),
      '@icon': path.resolve(__dirname, './src/assets/icon')
    },
  },
})
